﻿using Kugar.Web.Wechat.MP;

namespace Kugar.Web.Wechat
{
    public interface IWechatApi
    {
        IWechatMP MP { get; }
        IWechatPay Pay { get; }
    }

    public class WechatApi : IWechatApi
    {
        private static WechatApi _this=new WechatApi();

        public static WechatApi Default => _this;

        public IWechatMP MP { get; } = Wechat.MP.WechatMP._default;

        public IWechatPay Pay { get; } = WechatPay.Default;
    }
}